Alias /updates/static /usr/share/bodhi/static

WSGISocketPrefix run/wsgi
WSGIRestrictSignal Off

WSGIDaemonProcess bodhi user=bodhi group=bodhi display-name=bodhi maximum-requests=1000 processes=4 threads=1
WSGIPythonOptimize 1

WSGIScriptAlias /updates /usr/share/bodhi/bodhi.wsgi/updates

# Hack, to work around some weirdness with python-tgmochikit & TG1
Alias /updates/tg_widgets/tgmochikit/packed/MochiKit/MochiKit.js /usr/lib/python2.6/site-packages/tgmochikit/static/javascript/1.4.2/packed/MochiKit/MochiKit.js

<Directory /usr/share/bodhi>
  WSGIProcessGroup bodhi
  Order deny,allow
  Allow from all
</Directory>
